import './assets/styles'
import './assets/icons'

import { createRoot } from 'react-dom/client'

import App from './App'
import { useMock } from './hooks'
import { ajax } from './utils'

async function bootstrap() {
  const root = createRoot(document.getElementById('root')!)

  useMock(ajax)

  root.render(<App />)
}
bootstrap()
